<div class="problemindexholder" problemindex="A">
 <div class="ttypography">
  <div class="problem-statement">
   <div class="header">
    <div class="title">
     A. Text Volume
    </div>
    <div class="time-limit">
     <div class="property-title">
      time limit per test
     </div>
     1 second
    </div>
    <div class="memory-limit">
     <div class="property-title">
      memory limit per test
     </div>
     256 megabytes
    </div>
    <div class="input-file">
     <div class="property-title">
      input
     </div>
     standard input
    </div>
    <div class="output-file">
     <div class="property-title">
      output
     </div>
     standard output
    </div>
   </div>
   <div>
    <p>
     You are given a text of single-space separated words, consisting of small and capital Latin letters.
    </p>
    <p>
     <span class="tex-font-style-it">
      Volume
     </span>
     of the word is number of capital letters in the word.
     <span class="tex-font-style-it">
      Volume
     </span>
     of the text is maximum
     <span class="tex-font-style-it">
      volume
     </span>
     of all words in the text.
    </p>
    <p>
     Calculate the
     <span class="tex-font-style-it">
      volume
     </span>
     of the given text.
    </p>
   </div>
   <div class="input-specification">
    <div class="section-title">
     Input
    </div>
    <p>
     The first line contains one integer number
     <span class="tex-span">
      <i>
       n
      </i>
     </span>
     (
     <span class="tex-span">
      1 ≤
      <i>
       n
      </i>
      ≤ 200
     </span>
     ) — length of the text.
    </p>
    <p>
     The second line contains text of single-space separated words
     <span class="tex-span">
      <i>
       s
      </i>
      <sub class="lower-index">
       1
      </sub>
      ,
      <i>
       s
      </i>
      <sub class="lower-index">
       2
      </sub>
      , ...,
      <i>
       s
      </i>
      <sub class="lower-index">
       <i>
        i
       </i>
      </sub>
     </span>
     , consisting only of small and capital Latin letters.
    </p>
   </div>
   <div class="output-specification">
    <div class="section-title">
     Output
    </div>
    <p>
     Print one integer number —
     <span class="tex-font-style-it">
      volume
     </span>
     of text.
    </p>
   </div>
   <div class="sample-tests">
    <div class="section-title">
     Examples
    </div>
    <div class="sample-test">
     <div class="input">
      <div class="title">
       Input
      </div>
      <pre>7<br/>NonZERO<br/></pre>
     </div>
     <div class="output">
      <div class="title">
       Output
      </div>
      <pre>5<br/></pre>
     </div>
     <div class="input">
      <div class="title">
       Input
      </div>
      <pre>24<br/>this is zero answer text<br/></pre>
     </div>
     <div class="output">
      <div class="title">
       Output
      </div>
      <pre>0<br/></pre>
     </div>
     <div class="input">
      <div class="title">
       Input
      </div>
      <pre>24<br/>Harbour Space University<br/></pre>
     </div>
     <div class="output">
      <div class="title">
       Output
      </div>
      <pre>1<br/></pre>
     </div>
    </div>
   </div>
   <div class="note">
    <div class="section-title">
     Note
    </div>
    <p>
     In the first example there is only one word, there are
     <span class="tex-font-style-tt">
      5
     </span>
     capital letters in it.
    </p>
    <p>
     In the second example all of the words contain
     <span class="tex-font-style-tt">
      0
     </span>
     capital letters.
    </p>
   </div>
  </div>
  <p>
  </p>
 </div>
</div>
